<%--
  Created by IntelliJ IDEA.
  User: 123
  Date: 2018/5/6
  Time: 16:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更新用户信息</title>
</head>
<body>
<%
    request.setCharacterEncoding("UTF-8");
    String id = request.getParameter("id");
    String username = request.getParameter("username");
//    String password = request.getParameter("password");

    pageContext.setAttribute("password", request.getParameter("password"));
%>

<form method="post" action="updateUserHandler.jsp">
    <input type="text" name="id" value="<% out.write(id);%>" /><br/>
    用户名：<input type="text" name="username" value="<%= username%>"/><br/>
    密码：<input type="text" name="password" value="${password}"/><br/>
    <input type="submit" value="更新"/>
</form>
</body>
</html>
